#ifndef APPWEATHERMODEL_H_
#define APPWEATHERMODEL_H_

#include <list>
#include <string>
#include "Weather.h"
#include "../AppModel.hpp"

class AppWeatherModel : public AppModel {
 public:
  /**
   * Creates a Weather model
   */
  AppWeatherModel();

  /**
   * Load photographs from a given id
   * @param user_id the id of the user that you want to see the pictures
   */
  void loadTownForecast(std::string town);
  
  /**
    * get preloaded pictures
    */
  std::list<Weather*> getForecast();
  
  std::string getLocation();
  
  ~AppWeatherModel();
  
  private:
   std::list<Weather*> _forecast;
   std::string *_location;
};

#endif /* APPWeatherMODEL_H_ */
